<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>个人信息修改</title>
    <link rel="shortcut icon"  href="images/favicon.ico"/>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<LINK href="<%=path %>/admin/css/admin.css" type="text/css" rel="stylesheet">
	<script type="text/javascript" src="<%=path %>/admin/js/myJs.js"></script>
	<link href="<%=path %>/admin/css/myStyle.css" rel="stylesheet" type="text/css" />

		<!-- Jquery验证 -->
		<script type="text/javascript" src="<%=basePath%>js/jquery-1.5.1.min.js"></script>
	<script type="text/javascript" src="<%=basePath%>validateForm/jquery.validate.js"></script>
	<script type="text/javascript" src="<%=basePath%>validateForm/jquery.js"></script>
	<script type="text/javascript" src="<%=basePath%>validateForm/jquery.metadata.js"></script>
	<script type="text/javascript" src="<%=basePath%>js/check.js"></script>
	
  </head>
  
  <body>
   <TABLE cellSpacing=0 cellPadding=0 width="95%" align=center border=0>
  <TR height=20>
    <TD></TD></TR>
  <TR height=22>
    <TD style="PADDING-LEFT: 20px; FONT-WEIGHT: bold; COLOR: #ffffff" 
    align=middle background="<%=path %>/admin/images/title_bg2.jpg">个人信息修改</TD></TR>
  <TR bgColor=#ecf4fc height=12>
    <TD></TD></TR>
  <TR height=20>
    <TD></TD></TR></TABLE>
    
    <form action="users_updateUsers.html" method="post" name="updateUsers" id="updateUsers" target="_parent">
<TABLE cellSpacing=0 cellPadding=2 width="50%"  border=0 style="float: left; margin-left: 50px;">
  <TR>
    <TD align=right width=100>登录帐号：</TD>
    <TD style="COLOR: #880000">
    <input type="hidden" name="users.usersId" value="${user.usersId }">
     <input type="hidden" name="users.usersType" value="${user.usersType }">
    <input type="text" name="users.usersName" value="${user.usersName }" readonly="readonly">
    </TD></TR>
  <TR>
    <TD align=right>真实姓名：</TD>
    <TD style="COLOR: #880000"><input type="text" name="users.realName" value="${user.realName  }" class="{required:true,minlength:2}"></TD></TR>
  <TR>
  <TR>
    <TD align=right>新的密码：</TD>
    <TD style="COLOR: #880000"><input type="password" id="pwd" name="pwd" value="${user.usersPwd  }"  class="{required:true,minlength:5}"></TD></TR>
  <TR>
   <tr>
    <TD align=right>重复密码：</TD>
    <TD style="COLOR: #880000"><input type="password" name="users.usersPwd" value="${user.usersPwd  }"  class="{required:true,minlength:5,equalTo:'#pwd'}"></TD>
    </tr>
  <TR>
    <TD align=right>您的性别：</TD>
    <TD>
    	<input type="radio" value="男" name="users.sex"<c:if test="${user.sex=='男' }"> checked="checked"  </c:if>>男 
    	<input type="radio" value="女" name="users.sex"<c:if test="${user.sex=='女' }"> checked="checked"  </c:if>>女 </TD></TR>
  <TR>
    <TD align=right>联系方式：</TD>
    <TD style="COLOR: #880000"><input type="text" name="users.phone" value="${user.phone}"  class="{required:true,minlength:5}"></TD></TR>
  <TR>
    <TD align=right>QQ号码：</TD>
    <TD style="COLOR: #880000"><input type="text" name="users.qq" value="${user.qq}"  class="{required:true,minlength:7,number:true}"></TD></TR>
    <tr>
    	<TD align=right>您的权限：</TD>
    	<td>${user.usersType }</td>
    </tr>
    <tr>
    	<td colspan="2" align="center">
    	<div style="float: left;margin-left: 50px;">
    	<button  class="allDelete" type="submit">确认修改</button>
    	<button  class="allDelete" type="button" onclick="history.go(-1);">返回上页</button>
    	</div>
    	</td>
    </tr>
    
 </TABLE>
 </form>
  </body>
</html>
